package com.liu.frame.config;

import android.os.Environment;

/**
 * Created by 刘智强 on 2016/10/19.
 * 各种配置参数
 */
public class Constant {
    /**
     * APP根目录
     */
    public static final String FILE_APP_ROOT = Environment
            .getExternalStorageDirectory().getAbsolutePath()
            + "/"
            + "com.yidai.weilicai";
    /**
     * 日志文件目录
     */
    public static final String FILE_LOG_ERROR = FILE_APP_ROOT + "/" + "log"
            + "/";

    public static final String FILE_ROOT = Environment.getExternalStorageDirectory().getAbsolutePath();//手机系统目录

    public static final String DEVICE_KEY_NAME = "dsled";//放imei文件的名字
    ///////////////////////////////////////////////////////////////////
    /**
     * app类型
     */
    public final static String appType = "android";

    /**
     * qType
     */
    public final static String qTypeApi = "api";
    /**
     * qType
     */
    public final static String qTypeWeb = "web";
    /**
     * qType
     */
    public static String serviceVersion = "1.2";

    /**
     * qType
     */
    public final static String ERROR_MESSAGE_NETWORK_SERVER = "网络异常，请稍后重试";
    public final static String ERROR_MESSAGE_NETWORK_TIMEOUT = "网络连接超时，稍候再试";
    public final static String ERROR_MESSAGE_NETWORK_NODATA = "服务器返回异常";
    public final static String ERROR_MESSAGE_NETWORK_NOWORK = "当前网络不可用，请检查网络设置";

    ///////////////////////////////////////////////////////////////////////////////////////////////
    /**
     * toast 请稍候
     */
    public static final String TOAST_LOADING = "请稍候";



}
